package xing.design.pattern.behavioral.Memento.sample3_andCommandPattern.editor.command;

import xing.design.pattern.behavioral.Memento.sample3_andCommandPattern.editor.Editor;

/**
 * Command 类通用接口。
 *
 * @author xing
 * @date 2023/2/10 18:21:49
 */
public interface ICommand {
    void execute(Editor editor);
    String getName();
}
